package com.fei.yygh.hosp.repository;

import com.fei.yygh.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HospitalRepository extends MongoRepository<Hospital,String> {

    //判断数据是否存在
   Hospital getHospitalByHoscode(String hoscode);
}
